/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-07-10 17:31:22
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    searchObj: [{
            select: true, //是input
            label: ".", //字段
            prop: "fQualitygridclass", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "质量网格类别",
            options: [{
                    label: "请选择",
                    value: "",
                },
                {
                    label: "施工项目部",
                    value: "施工项目部",
                },
                {
                    label: "试验检测中心",
                    value: "试验检测中心",
                },
                {
                    label: "监理单位",
                    value: "监理单位",
                }, {
                    label: "项目公司",
                    value: "项目公司",
                }, {
                    label: "分子公司",
                    value: "分子公司",
                },
            ]
        },
    ],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
                label: "现场工作人单位",
                prop: "fUnit",
                minWidth: "110px",
                align: "left",
            },
            {
                label: "巡查项目部",
                prop: "fCompanyname",
                minWidth: "110px",
                align: "left",
            },
            {
                label: "网格类别",
                prop: "fQualitygridclass",
                minWidth: "90px",
                align: "center",
            },
            {
                label: "责任人",
                prop: "fChargeusername",
                minWidth: "75px",
                align: "center",
            },
            {
                label: '职务',
                prop: 'fDuty',
                minWidth: '80px',
                align: "center",
            },
            {
                label: "质量责任内容",
                prop: "fQualitydutydetail",
                minWidth: "120px",
                align: "left",
            },
            {
                label: "上期月份",
                prop: "lastMonth",
                minWidth: "75px",
                align: "center",
            },
            {
                label: "上月次数",
                prop: "lastMonthCounts",
                minWidth: "70px",
                align: "center",
                Jump: true,
            },
            {
                label: "上月是否达标",
                prop: "lastMouthIsok",
                minWidth: "90px",
                align: "center",
                filter: true,
                colorName: '',
            },
            {
                label: "上月项目全覆盖",
                prop: "lastMoutnIscover",
                minWidth: "105px",
                align: "center",
                filter: true,
                colorName: '',
            },
            {
                label: "本期月份",
                prop: "thisMonth",
                minWidth: "70px",
                align: "center",
            },
            {
                label: "本月累计",
                prop: "thisMonthCounts",
                minWidth: "80px",
                align: "center",
                Jump: true,
            },
            {
                label: "本期预警",
                prop: "warninglevel",
                minWidth: "85px",
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "本月是否全覆盖",
                prop: "thisMouthIscover",
                minWidth: "105px",
                align: "center",
                filter: true,
                colorName: '',
            },
            {
                label: "累计次数",
                prop: "counts",
                minWidth: "70px",
                align: "center",
                Jump: true,
            },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },
    btnObj: [{
        visible: true, // 是否展示出来
        title: "查看",
        name: 'yj_edit',
        order: 7
    }],
}